package com.zhangfuyu.alibaba.entity;

import java.math.BigDecimal;

public class Account {

    /**
     * 余额
     */
    private BigDecimal balance = new BigDecimal(1000);

    /**
     * 扣减的金额
     */
    private BigDecimal value;

    /**
     * 用户id
     */
    private int userid;

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }
}
